﻿using System;
namespace ElingOA6_Admin_DSJCJ.Model
{
    /// <summary>
    /// 实体类chkInfoCls 。(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public class ChkInfoCls
    {
        /// <summary>
        /// 构造函数
        /// </summary>
       public ChkInfoCls()
		{
			FStdScore=0M;
			FisExamine="Y";
		}
		#region Model
		/// <summary>
		/// 年度
		/// </summary>
		public decimal FYear
		{
			set;
			get;
		}
		/// <summary>
		/// 栏目编号
		/// </summary>
		public string FInfoClsNo
		{
			set;
			get;
		}
		/// <summary>
		/// 上级栏目编号
		/// </summary>
		public string FPreInfoClsNo
		{
			set;
			get;
		}
		/// <summary>
		/// 栏目名称
		/// </summary>
		public string FInfoClsName
		{
			set;
			get;
		}
		/// <summary>
		/// 每篇基分
		/// </summary>
		public decimal? FStdScore
		{
			set;
			get;
		}
		/// <summary>
		/// 按篇数计分   
		/// </summary>
		public string FChkType
		{
			set;
			get;
		}
		/// <summary>
		/// 公司编码
		/// </summary>
		public string FEntityNo
		{
			set;
			get;
		}
		/// <summary>
		/// 是否需要考核
		/// </summary>
		public string FisExamine
		{
			set;
			get;
		}
		#endregion Model


        /// <summary>
        /// 1 按篇数计分   
        ///2 按分数计分
        /// </summary>
        public string FChkTypeName
        {
            get
            {
                switch (FChkType)
                {
                    case "1":
                        return "篇数";
                }
                return "分数";

            }

        }


        /// <summary>
        ///是否需要考核
        /// </summary>
        public string FisExamineStr
        {
            get
            {
                switch (FisExamine)
                {
                    case "Y":
                        return "是";
                }
                return "否";

            }

        }


    }
}

